ArcPad Map File Schema
SIMPLELABELRENDERER Element
See Also  Send comments on this topic.
ArcPad Map File Schema > SYMBOLOGY Element : SIMPLELABELRENDERER Element

Glossary Item Box

Description

Used for labeling features. A field is specified for labeling all features of a particular layer.

Diagram

TEXTSYMBOL Element Sequence SIMPLELABELRENDERER Element

Overview

SIMPLELABELRENDERER
Used for labeling features. A field is specified for labeling all features of a particular layer.
expression optional xs:string
field optional xs:string
language optional Restriction of xs:string
The script engine that interprets the expression.
refscale optional xs:string
Reference scale to display the TRUETYPEMARKERSYMBOL or SIMPLEMARKERSYMBOL at the specified fontsize using a relative scale such as 1:24000. TRUETYPEMARKERSYMBOLs and SIMPLEMARKERSYMBOLs are scaled relative to the refscale as the map is zoomed in or out.
rotationfield optional xs:string
The field in the table that contains the angle of rotation for a TRUETYPEMARKERSYMBOL.
rotationtype optional Restriction of xs:string
Three methods of calculating angles are available: 1)"arithmetic", An angle of 0 is east, and angles are calculated counterclockwise from east. 2)"counterclockwise", An angle of 0 is north, and angles are calculated counterclockwise from north. 3)"geographic", An angle of 0 is north, and angles are calculated clockwise from north.
visible optional Restriction of xs:string
Sequence
TEXTSYMBOL
Symbol used to label point, line, and polygon layers.

Attributes

NameTypeUseDefaultFixedDescription
expressionxs:stringoptional   
fieldxs:stringoptional   
languageRestriction of xs:stringoptionalVBScript The script engine that interprets the expression.
refscalexs:stringoptional  Reference scale to display the TRUETYPEMARKERSYMBOL or SIMPLEMARKERSYMBOL at the specified fontsize using a relative scale such as 1:24000. TRUETYPEMARKERSYMBOLs and SIMPLEMARKERSYMBOLs are scaled relative to the refscale as the map is zoomed in or out.
rotationfieldxs:stringoptional  The field in the table that contains the angle of rotation for a TRUETYPEMARKERSYMBOL.
rotationtypeRestriction of xs:stringoptional  Three methods of calculating angles are available: 1)"arithmetic", An angle of 0 is east, and angles are calculated counterclockwise from east. 2)"counterclockwise", An angle of 0 is north, and angles are calculated counterclockwise from north. 3)"geographic", An angle of 0 is north, and angles are calculated clockwise from north.
visibleRestriction of xs:stringoptionalfalse  

Examples

Restrictions

  • One symbol must be specified. Only one is allowed.
  • rotationfield and rotationtype can only be used in point shapefiles.

Source

<xs:element name="SIMPLELABELRENDERER" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used for labeling features. A field is specified for labeling all features of a particular layer.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="TEXTSYMBOL" />
    </xs:sequence>
    <xs:attribute ref="expression" />
    <xs:attribute ref="field">
      <xs:annotation>
        <xs:documentation>The field in the table that contains text for labeling features.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute ref="language" />
    <xs:attribute ref="refscale" />
    <xs:attribute ref="rotationfield" use="optional" />
    <xs:attribute default="" ref="rotationtype" />
    <xs:attribute ref="visible" />
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.